package cn.vivi.recyclercomp.test;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import cn.vivi.recyclercomp.Status;
import cn.vivi.recyclercomp.StatusActivity;

public class ToolbarTestActivity extends StatusActivity {

	@Override
	public View createDataContentView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		TextView tvText = new TextView(this);
		tvText.setText("data content");
		setTitle("my title");
		return tvText;
	}


	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setStatus(Status.CONTENT);
	}

}
